﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zhaoxi.CSharpDemo.CSharp6
{
    public class StudentServie
    {
        public static int Id { get; set; } = 123445678;

        public static string? Name;
        public static void StudyStatic()
        {
            Console.WriteLine("this is static Method....");
        }


        public static void ShowExceptionType()
        {
            Console.WriteLine("开始抛出异常~~");
            // throw new Exception("001");
            throw new Exception("002");
             
        }

    }
}
